Repository navigation
Version Packages - #339
Version Packages#339github-actions[bot] wants to merge 1 commit into
Conversation
|
|
|
||
| ### Patch Changes | ||
|
|
||
| - [#322](https://github.com/cloudflare/computer/pull/322) `CodemodeBackend` takes an experimental `onDetachedExit`, and `workspace.runtime.detachExec(id)` leaves an exec running with nothing waiting on it, so its exit goes to `onDetachedExit`, saved with the exit and delivered again after a restart or from `runtime.recover()`; see [Detaching](https://github.com/cloudflare/computer/blob/main/docs/05_runtime_interface.md#detaching). ([`018545e`](https://github.com/cloudflare/computer/commit/018545e5e800f7e3ba2b47308ec32a56404ebf4c)) - Thanks [@scuffi](https://github.com/scuffi) |
There was a problem hiding this comment.
🔍 Unclear limits on exit redelivery
The release note implies restart or recovery replays every detached exit. CodemodeBackend removes an exit after onDetachedExit returns successfully, leaving only unacknowledged exits for recovery.
Was this helpful? React with 👍 or 👎 to provide feedback.
commit: |
dddb185 to
79cb428
Compare
This pull request was opened by the release workflow. Merge it to publish the versions below. Pending changesets on
mainwill update this pull request.Releases
@cloudflare/computer@0.11.5
Patch Changes
#337 Show
codemode:browser's screenshot example as a JPEG, since a PNG of a whole window is often over the 1 MiB one call can return. (62f23d7) - Thanks @ben-reitz#322
CodemodeBackendtakes an experimentalonDetachedExit, andworkspace.runtime.detachExec(id)leaves an exec running with nothing waiting on it, so its exit goes toonDetachedExit, saved with the exit and delivered again after a restart or fromruntime.recover(); see Detaching. (018545e) - Thanks @scuffi#322 The
exectool takes an experimentaldetach: true, or{ afterMs }, that returns once a run waits for an answer, or has gone on that long, with itsexecutionIdand output so far, and leaves it running for its backend'sonDetachedExit; see Detaching. (018545e) - Thanks @scuffi@cloudflare/dofs@0.11.5
@cloudflare/computer-rpc@0.11.5
Patch Changes
@cloudflare/computerd@0.11.5
Patch Changes
@cloudflare/remote-exec@0.11.5